BKDR_VAWTRAK.SM2

 Analysis by: Rhena Inocencio

 ALIASES:

TrojanDropper:Win32/Vawtrak.A(Microsoft)

 PLATFORM:

Windows 2000, Windows Server 2003, Windows XP (32-bit, 64-bit), Windows Vista (32-bit, 64-bit), Windows 7 (32-bit, 64-bit)

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Backdoor

  • Destructiveness: No

  • Encrypted: Yes

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware


This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It is injected into all running processes to remain memory resident.

It executes commands from a remote malicious user, effectively compromising the affected system.

  TECHNICAL DETAILS

File Size:

Varies

File Type:

DLL

Memory Resident:

Yes

Initial Samples Received Date:

17 May 2014

Payload:

Compromises system security, Steals information

Arrival Details

This backdoor arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This backdoor is injected into all running processes to remain memory resident.

Autostart Technique

This backdoor adds the following registry entries to enable its automatic execution at every system startup:

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Run
{malware filename} = "regsvr32.exe "{malware path}\{malware filename}.{malware extension name}""

Other System Modifications

This backdoor adds the following registry keys:

HKEY_CLASSES_ROOT\CLSID\{GUID 1}

HKEY_CLASSES_ROOT\CLSID\{GUID 2}

HKEY_CURRENT_USER\Software\Classes\
CLSID\{GUID 1}

HKEY_CURRENT_USER\Software\Classes\
CLSID\{GUID 2}

It adds the following registry entries:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
NoProtectedModeBanner = "1"

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\Main
TabProcGrowth = "0"

HKEY_CURRENT_USER\Software\Microsoft\
Windows\CurrentVersion\Internet Settings\
Zones\3
2500 = "3"

HKEY_CLASSES_ROOT\CLSID\{GUID 1}
#cert = "{hex value}"

HKEY_CURRENT_USER\Software\Classes\
CLSID\{GUID 1}
#cert = "{hex value}"

HKEY_CLASSES_ROOT\CLSID\{GUID 2}
{GUID 3} = "{hex value}"

HKEY_CURRENT_USER\Software\Classes\
CLSID\{GUID 2}
{GUID 3} = "{hex value}"

HKEY_CLASSES_ROOT\CLSID\{GUID 2}
{GUID 4} = "{encrypted form of config data}"

HKEY_CURRENT_USER\Software\Classes\
CLSID\{GUID 2}
{GUID 4} = "{encrypted form of config data}"

Backdoor Routine

This backdoor executes the following commands from a remote malicious user:

  • Update itself
  • Download and execute files
  • List active processes
  • Perform remote shell
  • Execute file
  • Keylog
  • Capture Screenshot
  • Monitor sound
  • Start/Stop process (iexplore.exe, firefox.exe, outlook.exe, explorer.exe, cmd.exe, taskmgr.exe)
  • Inject to process
  • Get clipboard data
  • Receive config data which is saved on registry

It connects to the following URL(s) to send and receive commands from a remote malicious user:

  • http://{BLOCKED}.{BLOCKED}.233.38/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.233.38/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.233.38/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.233.80/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.233.80/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.233.80/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.67/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.67/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.67/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.80/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.80/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}.{BLOCKED}.32.80/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}ally.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}ally.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}ally.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}ag.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}ag.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}ag.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}d.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}d.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}d.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}lon.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}lon.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}lon.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}ix.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}ix.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}ix.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}z.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}z.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}z.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}on.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}on.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}on.com/viewforum.php?f={value}&sid={value}
  • http://{BLOCKED}lpane.com/posting.php?mode=post&f={value}&sid={value}
  • http://{BLOCKED}lpane.com/posting.php?mode=reply&f={value}&t={value}&sid={value}
  • http://{BLOCKED}lpane.com/viewforum.php?f={value}&sid={value}

Information Theft

This backdoor attempts to steal stored account information used in the following installed File Transfer Protocol (FTP) clients or file manager software:

  • 3D-FTP
  • AceBIT
  • AceFTP
  • ALFTP
  • BitKinex
  • BlazeFtp
  • BulletProof FTP
  • ClassicFTP
  • CoffeeCup Software
  • Cyberduck
  • DeluxeFTP
  • Directory Opus
  • EasyFTP
  • ExpanDrive
  • FarManager
  • FFFTP
  • FileZilla
  • FlashFXP
  • Fling FTP
  • FreshFTP
  • FTP Commander
  • FTP Explorer
  • FTP Navigator
  • FTPGetter
  • FTPNow
  • FTPRush
  • FTPShell
  • FTPVoyager
  • FTPWare
  • GlobalSCAPE CuteFTP 6 Home
  • GlobalSCAPE CuteFTP 7 Home
  • GlobalSCAPE CuteFTP 8 Home
  • GlobalSCAPE CuteFTP
  • GlobalSCAPE CuteFTP 8 Professional
  • GlobalSCAPE CuteFTP 6 Professional
  • GlobalSCAPE CuteFTP 7 Professional
  • GlobalSCAPE CuteFTP Lite
  • GlobalSCAPE CuteFTP Pro
  • GoFTP
  • LeapFTP
  • LeechFTP
  • LinasFTP
  • My FTP
  • NetDrive
  • NetSarang
  • NexusFile
  • NovaFTP
  • PuTTY
  • RhinoSoft
  • Robo-FTP
  • SecureFX
  • SmartFTP
  • SoftX FTP
  • Staff-FTP
  • Titan FTP
  • Total Commander
  • TurboFTP
  • UltraFXP
  • WinFTP
  • WinSCP
  • WS_FTP

It attempts to steal stored email credentials from the following:

  • IncrediMail
  • Outlook
  • PocoMail
  • The Bat!
  • Thunderbird
  • Windows Live Mail
  • Windows Mail

It attempts to get stored information such as user names, passwords, and hostnames from the following browsers:

  • Epic Browser
  • Flock
  • K-Meleon
  • Mozilla Firefox
  • SeaMonkey

NOTES:

This backdoor checks for the presence of the following security-related directories in %Program Files% and %All Users Profile%\Application Data:

  • a-squared Anti-Malware
  • a-squared HiJackFree
  • Agnitum
  • Alwil Software
  • AnVir Task Manager
  • ArcaBit
  • AVAST Software
  • AVG
  • avg8
  • Avira GmbH
  • Avira
  • BitDefender
  • BlockPost
  • Common Files\Doctor Web
  • Common Files\G DATA
  • Common Files\P Tools
  • Common Files\Symantec Shared
  • DefenseWall
  • DefenseWall HIPS
  • Doctor Web
  • DrWeb
  • ESET
  • f-secure
  • FRISK Software
  • G DATA
  • K7 omputing
  • Kaspersky Lab Setup Files
  • Kaspersky Lab
  • Lavasoft
  • Malwarebytes
  • Malwarebytes' Anti-Malware
  • McAfee
  • McAfee.com
  • Microsoft Security Client
  • Microsoft Security Essentials
  • Microsoft\Microsoft Antimalware
  • Norton AntiVirus
  • Online Solutions
  • P Tools Internet Security
  • P Tools
  • Panda Security
  • Positive Technologies
  • Sandboxie
  • Security Task Manager
  • Spyware Terminator
  • Sunbelt Software
  • Symantec
  • Trend Micro
  • UAenter
  • Vba32
  • Xore
  • Zillya Antivirus

Once it finds one of the AV installations mentioned above, it then creates the following registry entries to force the AV installation to run under restricted user privileges:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\{generated GUID for the AV software}
ItemData = "{AV software path}"

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\{generated GUID for the AV software}
SaferFlags = "0"

It can only perform its intended routine once it is injected in the following processes:

  • chrome.exe
  • explorer.exe
  • firefox.exe
  • iexplore.exe

  SOLUTION

Minimum Scan Engine:

9.700

FIRST VSAPI PATTERN FILE:

10.808.05

FIRST VSAPI PATTERN DATE:

21 May 2014

VSAPI OPR PATTERN File:

10.809.00

VSAPI OPR PATTERN Date:

21 May 2014

Step 1

Before doing any scans, Windows XP, Windows Vista, and Windows 7 users must disable System Restore to allow full scanning of their computers.

Step 2

Restart in Safe Mode

[ Learn More ]

Step 3

Delete this registry value

[ Learn More ]

Important: Editing the Windows Registry incorrectly can lead to irreversible system malfunction. Please do this step only if you know how or you can ask assistance from your system administrator. Else, check this Microsoft article first before modifying your computer's registry.

  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
    • {malware filename} = "regsvr32.exe "{malware path}\{malware filename}.{malware extension name}""
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
    • NoProtectedModeBanner = "1"
  • In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
    • TabProcGrowth = "0"
  • In HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
    • 2500 = "3"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\{generated GUID for the AV software}
    • ItemData = "{AV software path}"
  • In HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers\0\Paths\ \{generated GUID for the AV software}
    • SaferFlags = "0"

Step 4

Restart in normal mode and scan your computer with your Trend Micro product for files detected as BKDR_VAWTRAK.SM2 . If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check this Knowledge Base page for more information.


Did this description help? Tell us how we did.